package com.cpecc.manager.wuzi;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.cpecc.dao.wuzi.TuPianDao;
import com.cpecc.model.wuzi.TuPian;

@Service
@Transactional
public class TuPianManager {
	
	@Autowired
	private TuPianDao tuPianDao;

	public void save(TuPian tuPian){
		tuPianDao.save(tuPian);
	}
	
	public TuPian get(String id){
		return tuPianDao.get(id);
	}
	
	public boolean delete(String id){
		return tuPianDao.delete(id);
	}
}
